package com.woniuxy.dao;

import com.woniuxy.entity.WarehouseStyle;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
@Mapper
public interface WarehouseStyleDao {

    List<WarehouseStyle> findAll();

    List<WarehouseStyle> findByName(String name);

    int addOne(WarehouseStyle warehouseStyle);

    int deleteOne(String id);

    int updateOne(WarehouseStyle warehouseStyle);

    int deleteSome(int[] id);

    WarehouseStyle findByCode(String style_code);

    WarehouseStyle findByUname(String style_name);
}
